package com.yu.common.enums;

// 订单状态
public enum OrderStatus {

    // 进行中
    ENUM_has_not_pay_money(10, "未付款"),
    ENUM_on_making(20, "制作中"),
    ENUM_please_take_meal(30, "请取餐"),
    ENUM_on_sending(40, "配送中"),
    ENUM_has_received(50, "已送达"),
    ENUM_on_refunding(60, "退款中"),

    ENUM_has_completed(100, "已完成"),
    ENUM_has_canceled(110, "已取消"),
    ENUM_has_refunded(120, "已退款");

    public int status;
    public String text;

    OrderStatus(int status, String text) {
        this.status = status;
        this.text = text;
    }

    @Override
    public String toString() {
        return text;
    }
}
